ident = '$Id: html.py 104 2006-05-25 22:06:43Z ahmad $'

# html keyworkds

html_keywords = '''
a abbr acronym address applet area b base basefont 
bdo big blockquote body br button caption center 
cite code col colgroup dd del dfn dir div dl dt em 
fieldset font form frame frameset h1 h2 h3 h4 h5 h6 
head hr html i iframe img input ins isindex kbd label 
legend li link map menu meta noframes noscript 
object ol optgroup option p param pre q s samp 
script select small span strike strong style sub sup 
table tbody td textarea tfoot th thead title tr tt u ul 
var xml xmlns assign audio block break catch choice clear disconnect else elseif 
emphasis enumerate error exit field filled form goto grammar help 
if initial link log menu meta noinput nomatch object option p paragraph 
param phoneme prompt property prosody record reprompt return s say-as 
script sentence subdialog submit throw transfer value var voice vxml
'''.replace('\n','')

html_attribs = '''
abbr accept-charset accept accesskey action align alink 
alt archive axis background bgcolor border 
cellpadding cellspacing char charoff charset checked cite 
class classid clear codebase codetype color cols colspan 
compact content coords 
data datafld dataformatas datapagesize datasrc datetime 
declare defer dir disabled enctype event 
face for frame frameborder 
headers height href hreflang hspace http-equiv 
id ismap label lang language leftmargin link longdesc 
marginwidth marginheight maxlength media method multiple 
name nohref noresize noshade nowrap 
object onblur onchange onclick ondblclick onfocus 
onkeydown onkeypress onkeyup onload onmousedown 
onmousemove onmouseover onmouseout onmouseup 
onreset onselect onsubmit onunload 
profile prompt readonly rel rev rows rowspan rules 
scheme scope selected shape size span src standby start style 
summary tabindex target text title topmargin type usemap 
valign value valuetype version vlink vspace width 
text password checkbox radio submit reset 
file hidden image accept age alphabet anchor application base beep bridge category charset 
classid cond connecttimeout content contour count dest destexpr dtmf dtmfterm 
duration enctype event eventexpr expr expritem fetchtimeout finalsilence 
gender http-equiv id level maxage maxstale maxtime message messageexpr 
method mime modal mode name namelist next nextitem ph pitch range rate 
scope size sizeexpr skiplist slot src srcexpr sub time timeexpr timeout 
transferaudio type value variant version volume xml:lang
'''.replace('\n','')

css_keywords = '''background background-attachment background-color background-image 
background-position background-repeat 
border-color border-bottom border-bottom-width border-left border-left-width 
border border-right-width border-right border-style border-top border-top-width border-width 
clear clip color cursor display float 
font font-family font-size font-style font-variant font-weight 
height left letter-spacing line-height 
list-style list-style-image list-style-position list-style-type 
margin margin-bottom margin-left margin-right margin-top overflow 
padding padding-bottom padding-left padding-right padding-top position 
text-align text-decoration text-indent text-transform top 
vertical-align visibility width white-space word-spacing z-index
'''.replace('\n','')